package de.hs.rm.jmx;

import java.beans.ConstructorProperties;

public class Pizza {

	private double price;
	private String name;
	private boolean available;
	
	@ConstructorProperties({"name", "price", "available"}) 
	public Pizza(String name, double price, boolean available)
	{
		this.name = name;
		this.price = price;
		this.available = available;		
	}
	
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public boolean isAvailable() {
		return available;
	}
	public void setAvailable(boolean available) {
		this.available = available;
	}
}
